
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="__PUBLIC__/css/common.css">
<link rel="stylesheet" href="__PUBLIC__/css/main.css">
<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
<script type="text/javascript"
	src="__PUBLIC__/js/colResizable-1.3.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>

<css rel="stylesheet" href="__PUBLIC__/css/SimpleTree.css" />
<script type="text/javascript">
      $(function(){  
        $(".list_table").colResizable({
          liveDrag:true,
          gripInnerHtml:"<div class='grip'></div>", 
          draggingClass:"dragging", 
          minWidth:30
        }); 
        
      }); 
   </script>
<title>帖子详情</title>
</head>
<body>
<!--
 登陆成功{{$_SESSION['user']['username']}}
 -->
<div id="forms" class="mt10">
<div class="box">
<div class="box_border">
<div class="box_top"><b class="pl15">帖子详情</b></div>
<div class="box_center">
<table class="form_table pt15 pb15" width="100%" border="0"
	cellpadding="0" cellspacing="0">
	<tr>
		<td class="td_right">标题:</td>
		<td class="">{{$list.title}}</td>
	</tr>
	<tr>
		<td class="td_right">内容:</td>
		<td class="">{{$list.content}}</td>
	</tr>
	<tr>
		<td class="">图片</td>
		<td align='left' colspan="2">
			<foreach name="noteImage" item="image1">
			<if condition="($image1.note_id eq $list[id])">
			<img
				alt="__PUBLIC__/Uploads/image/note/{{$image1.image}}"
				src="__PUBLIC__/Uploads/image/note/{{$image1.image}}"
				style="float: left; padding-right: 15px; " />
				</if>
			</foreach>
		</td>
	</tr>
	<tr>
		<td class="td_right">用户姓名:</td>
		<td class="">{{$list.name}}</td>
	</tr>
	<tr>
		<td class="td_right">发布时间:</td>
		<td class="">{{$list.create_time}}</td>
	</tr>
</table>
</div>
<div class="box_top"><b class="pl15">回复内容</b></div>
<div class="box_center">
<table class="form_table pt15 pb15" width="100%" border="0"
	cellpadding="0" cellspacing="0">
	<foreach name="noteOne" item="one">
	<tr>
		<td class="">&nbsp;</td>
		<td><b>{{$key+1}}楼: </b>{{$one.name}}</td>
		<td class="">{{$one.create_time}}</td>
	</tr>
	<tr>
		<td class="">&nbsp;</td>
		<td align='left' colspan="2">{{$one.message}}</td>
	</tr>
	<tr>
		<td class="">&nbsp;</td>
		<td align='left' colspan="2">
			<foreach name="noteOneImage" item="image1">
			<if condition="($image1.note_one_id eq $one[id])">
			<img
				alt="__PUBLIC__/Uploads/image/noteOne/{{$image1.image}}"
				src="__PUBLIC__/Uploads/image/noteOne/{{$image1.image}}"
				style="float: left; padding-right: 15px; " />
				</if>
			</foreach>
		</td>
	</tr>
	<foreach name="noteTwo" item="two">
	<if condition="($two.note_one_id eq $one[id])">
	<tr>
		<td class="">&nbsp;</td>
		<td>{{$two.name}}>回复>{{$two.twoname}}</td>
		<td class="">{{$two.create_time}}</td>
	</tr>
	<tr>
		<td class="">&nbsp;</td>
		<td align='left' colspan="2">{{$two.words}}</td>
	</tr>
	<tr>
		<td class="">&nbsp;</td>
		<td align='left' colspan="2">
			<foreach name="noteTwoImage" item="image1">
			<if condition="($image1.note_two_id eq $two[id])">
			<img
				alt="__PUBLIC__/Uploads/image/noteTwo/{{$image1.image}}"
				src="__PUBLIC__/Uploads/image/noteTwo/{{$image1.image}}"
				style="float: left; padding-right: 15px; ;" />
				</if>
			</foreach>
		</td>
	</tr>
	</if>
	</foreach>
	<tr>
		<td colspan="3">-------------------------------------------------------------------------------------------------------------------------------</td>
	</tr>
	</foreach>
	<tr class="tr">
		<td colspan='3' align='center'>{{$page}}</td>
	</tr>
	<tr>
		<td class="td_right">&nbsp;</td>
		<td class=""><input type="button" value="返回"
			onclick="location.href='javascript:history.go(-1)'" class="ext_btn">
		</td>
	</tr>
</table>

</div>
</div>

<!-- <div class="st_tree" style="margin-left: 30px">
	         	<php>
	         		function wareRole($allrole)
					{
						if($allrole)
						{
							echo '<ul>';
							foreach ($allrole as $key=>$value)
							{
								echo "<li class='folder open'>"."<b>".$value['i']."</b>".$value['name']."&nbsp;&nbsp;&nbsp;&nbsp;".$value['create_time']."<br/>".$value['message'].'</li>';
								wareRole($value['child']);
							}
							echo '</ul>';
						}
					}
	         		wareRole($allrole)
	         	</php>
	         </div>	 --></div>
</div>
</div>
</body>
